package cn.hxlc.tie.demo.modular.zr.equipmentzr.service;/*
 @author rui
 @date 2021/6/28 --19:00
*/

import cn.hxlc.tie.demo.modular.zr.equipmentzr.entity.EquipmentGroup;
import cn.hxlc.tie.demo.modular.zr.equipmentzr.model.param.EquipmentGroupParam;
import cn.hxlc.tie.demo.modular.zr.equipmentzr.model.result.EquipmentGroupResult;
import cn.hxlc.tie.model.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;


public interface EquipmentGroupService extends IService<EquipmentGroup> {
    List<Map<String, Object>> queryTree();

    Boolean add(EquipmentGroupParam equipmentGroupParam);

    void update(EquipmentGroupParam equipmentGroupParam);

    Boolean delete(EquipmentGroupParam equipmentGroupParam);

    EquipmentGroup getGroupById(Long pid);


   PageResult<EquipmentGroupResult> queryListOne(EquipmentGroupParam equipmentGroupParam);
}
